package com.hsc.www.filterBean;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.Map;

@RestController
public class MyController {

    @RequestMapping(value = "/*")
    public Map adminPage(HttpServletRequest request, HttpServletResponse response) {
        Map map = new HashMap();
        map.put("message", "adminPage");
        return map;
    }
}
